import http from "@/utils/vmeitime-http/index.js";
// 获取报价单信息
export const getQuotation = (data) => http.get("/applet_shop/goods/quotation", data);
export const getQuotationDiscount = (data) => http.get("/applet_shop/goods/discount", data);

// 分类列表处 品牌搜索分类以及商品数据
export const getBrandAndCateToGoods = (data) => http.get("/applet_shop/category/list", data);

// 通过供应商id获取店铺表对应的店铺id
export const supplierFormToShopId = (data) => http.get("/applet_shop/user/supplier_convert_suppliershop", data)


// 获取商品列表信息
export const  getGoodsList = (data) => http.get("/applet_shop/shop_goods/list", data);
// 设置上下架
export const  setGoodsStatus =  (data) => http.post("/applet_shop/shop_goods/status_on_off", data);
// 设置排序
export const  setBrandGoodsSort =  (data) => http.post("/applet_shop/shop_goods/setSort", data);
// 获取商品详情信息
export const getGoodsDetail = (data) => http.get("/applet_shop/shop_goods/info", data);
// 获取商品折扣信息
export const getGoodsDiscount = (data) => http.get("/applet_shop/goods_discount/info", data);
// 设置商品折扣价格
export const setGoodsDiscount = (data) => http.post("/applet_shop/goods_discount/save", data);




